//
//  DRCookDataModel.h
//  DoctorRen
//
//  Created by Lemon on 2018/11/21.
//

#import <Foundation/Foundation.h>
#import "DRHttpModel.h"
#import "DRLearnCookingModel.h"
#import "DRCookSociaModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface DRCookDataModel : NSObject

+(void) loadLearnCookingData:(DRHttpModel *) request andSuccess:(void(^)(NSArray<DRLearnCookingModel *> *models))succBlock andFail:(RequestFail)failBlock;

+(void) loadFriendCircleData:(DRHttpModel *) request andSuccess:(void(^)(NSArray<DRCookSociaModel *> *models))succBlock andFail:(RequestFail)failBlock;

+(void) giveLike:(NSString *) c_id andSuccess:(void(^)(NSInteger code))succBlock andFail:(RequestFail)failBlock;

+(void) comment:(NSString *) c_id content:(NSString *)content andSuccess:(void(^)(void))succBlock andFail:(RequestFail)failBlock;

+(void) giveLikeHealthy:(NSString *) l_id isLike:(BOOL)isLike andSuccess:(void(^)(void))succBlock andFail:(RequestFail)failBlock;

@end

NS_ASSUME_NONNULL_END
